class Course:
    def __init__(self):
        pass

    def showInfo(self):
        print("正在学习中")

class Math(Course):
    def __init__(self):
        super().__init__()

class AI(Course):
    def __init__(self):
        super().__init__()

class Linux(Course):
    def __init__(self):
        super().__init__()

    def showInfo(self):
        print("正在学习Linux中")

class Girlfriend:
    def __init__(self, name):
        self.name = name

    def study(self, study_course):
        study_course.showInfo()

# 使用示例
math = Math()
ai = AI()
linux = Linux()

girlfriend = Girlfriend("Alice")
girlfriend.study(math)  # 输出: 正在学习中
girlfriend.study(ai)    # 输出: 正在学习中
girlfriend.study(linux) # 输出: 正在学习Linux中
